<!DOCTYPE html>
<html>
    <head>
        <title>Friend++ - 寻找你我身边志同道合的朋友</title>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width"/>

        <meta name="apple-mobile-web-app-capable" content="yes">
        <script type="text/javascript" src="jquery/jquery-1.6.1.js"></script>
        <script src="js/login.js"></script>
        <script type="text/javascript" src="jquery/jquery.mobile-1.0b1.min.js"></script>
        <link rel="stylesheet" href="jquery/jquery.mobile-1.0b1.min.css"/>
        <link rel="stylesheet" href="css/login.css"/>
    </head>
    <body>
        <div data-role="page" id="first" data-theme ="c">
            <div data-role="header">
                <h5 class="header">Friend++</h5>
            </div>
            <div data-role="content" id="main_content">
                <div >
                    <form action="login.php" method="post" id="login" data-ajax="false">
                        <!--<div data-role="fieldcontain">
                            <input  type="email" name="email" id="email"  required="required" placeholder="请输入您的登录邮箱" />
                            <input type="password" name="password" id="password" required="required"  placeholder="请输入您的登录密码"/>
                            <div id="confirm"></div>
                            <input type="hidden" name="longitude" id="longitude" value="1" />
                            <input type="hidden" name="latitude" id="latitude" value="1" />
                        </div>-->
                        <div id="i_logintext">
                            <div id="i_logintext_l"></div>
                            <div id="i_logintext_r"></div>
                            <div id="i_icon1"></div>
                            <div id="i_label1">Email：</div>
                            <input type="email"  name="email" id="email" required="required"/>
                            <div id="i_icon2"></div>
                            <div id="i_label2">密  码：</div>
                            <input type="password" value="" name="password" id="password" required="required"/>

                            <input type="hidden" name="longitude" id="longitude" value="1" />
                            <input type="hidden" name="latitude" id="latitude" value="1" />
                        </div>
                        <p id="loginLoading" ><img src="images/indicator.gif" alt="Login" /></p>
                        <p id="confirm"></p>

                        <div class="ui-grid-a">
                            <div class="ui-block-a"><input type="reset" value="重填" /></div>
                            <div class="ui-block-b"><input id="loginBtn" type="submit" value="登录"/></div>
                        </div>
                    </form>
                </div>
                <div id="registerLink">
                    <span id="register_btn"> <a href="#second">注册Friend++</a></span>
                    <span id="suggest_btn"><a href="http://www.google.com">意见反馈</a></span>
                </div>
                <div id="geoResults"></div>
            </div>
            <div data-role="footer">
                <p style="text-align: center;font-size: 12px;" id="locationTip">定位中</p>
                <p style="text-align: center;font-size: 12px">© 2008-2011 team luff. All rights reserved.</p>
            </div>
        </div>
        <div data-role="page" id="second" data-theme ="c">
            <div data-role="header">
                 <a data-role="button" data-icon="back" data-rel="back" >返回</a>
                <h5 class="header">注册Friend++</h5>
            </div>
            <div data-role="content">
                <form id="signup_form" action="register.php" method="post" data-ajax="false">
                    <div class="bg-r">

                        <div class="top_radius" id="a_list">
                            <div class="a_row">
                                <div class="a_name">Email：</div>
                                <input type="email"  name="email_input" class="a_text" id="email_input" required="required">
                            </div>
                            <div class="a_row">
                                <div class="a_name">密码：</div>
                                <input type="password" name="password_input" class="a_text a_text_default" id="password_input" required="required">
                            </div>
                            <div class="a_row a_last">
                                <div class="a_name">确认密码：</div>
                                <input type="password" name="password_confirm" class="a_text a_text_default" id="password_confirm">
                            </div>
                            <div class="a_btn">
                                <!--<a class="a_btn_cancel" href="javascript:returnTo();">取 消</a>-->
                                <input type="submit" class="a_btn_ok" value="注册" id="rigisterBtn"/>  
                            </div>
                        </div><!-- a_list end -->

                    </div>
                    <!--<div data-role="fieldcontain">
                        <input type="email" name="email_input" id="email_input"  required="required"  placeholder="请输入要注册的邮箱"/>
                        <div>
                            <span id="rigisterLoading"><img src="images/indicator.gif" alt="Checking" /></span>
                            <span id="rigisterResult"></span>
                        </div>
                    </div>
                    <div data-role="fieldcontain">
                        <input type="password" name="password_input" id="password_input" required="required" placeholder="请输入你的密码"/>
                        <br>
                        <input type="password" name="password_confirm" id="password_confirm" required="required" placeholder="请再次输入你的密码"/>
                    </div>
                    <div data-role="fieldcontain">
                        <input type="hidden" name="longitude_register" id="longitude_register" value="0"/>
                        <input type="hidden" name="latitude_register" id="latitude_register" value="0" />
                    </div>
                    <div class="ui-grid-a">
                        <div class="ui-block-a"><input type="reset" value="重填" /></div>
                        <div class="ui-block-b"><input id="rigisterBtn" type="submit" value="注册"/></div>
                    </div>--><!-- /grid-a -->
                </form>
            </div> 
            <div data-role="footer">
                <p style="text-align: center;font-size: 12px;"> © 2008-2011 team luff. All rights reserved. </p>
            </div>
        </div>
    </body>
</html>
